<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of IndexController
 *
 *IO_Controller_Action -> controlador con soporte de traducciones y demas funciones.
 *
 * @author sebastian
 */
class IndexController extends TN_Controller_Action_Public
{
    //put your code here

    const HOME_CONTENT = 1;
  
    public function indexAction()
    {
      $content = new Zend_Models_LangContent();
      $content = $content->getContentByKey(self::HOME_CONTENT,Common_Translate::getLanguage());
      $this->view->title = $content['title'];
      $this->view->contentTitle = $content['title'];
      $this->view->content = $content['content'];   
    }

}
?>
